DEBUG = True
HOST= '0.0.0.0', 
PORT= 5000,

# 加密盐
SECRET_KEY = '0z5c-z&(in+%=-gy$j6hd09!^a13y6nu6f5g78l2g2u5&@67&3'

# token过期时间
EXPIRE = 60 * 60 * 4

# 数据库配置
MYSQL_HOSTNAME = "127.0.0.1"
MYSQL_PORT = 3306
MYSQL_USERNAME = 'root'
MYSQL_PASSWORD = '1234'
MYSQL_DATEBASE = 'flask'
MYSQL_DB_URI = f'mysql+mysqldb://{MYSQL_USERNAME}:{MYSQL_PASSWORD}@{MYSQL_HOSTNAME}:{MYSQL_PORT}/{MYSQL_DATEBASE}?charset=utf8mb4'
SQLALCHEMY_DATABASE_URI = MYSQL_DB_URI

# redis配置
REDIS_HOSTNAME = "127.0.0.1"
REDIS_PORT = 6379
# REDIS_USERNAME = 'root'
# REDIS_PASSWORD = 'root'
REDIS_URL = f'redis://{REDIS_HOSTNAME}:{REDIS_PORT}/0'